<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>Document</title>
    <script type="text/javascript">
		var srr = [1,2,3,4,5,6,7,8,8,8,7,6,5,];
		var syy = [];
		for(i in srr){
			var a = 0;
			for(x in syy){
				if(srr[i] == syy[x]){
					a = 1 ;
				}
			}
			if(a==0){
					syy.push(srr[i]);
				}
		}
		for(m in syy ){
			document.write(syy[m]);
			document.write("<br/>");
		}
		
	</script>
</head>
<body>
 
</body>
</html>